/*
 * @Author: guxf
 * @Date: 2021-11-25 12:47:22
 * @Description: 用户相关接口
 */
import request from '@/utils/request'
const api = {
	deleteById: '/file/',
	upload: '/file/uploadImg'
}
export function deletePic(filePath) {
	let url = api.deleteById + filePath
	return request({
		method: "delete",
		url: url,
	});
}
export function upload(parameter) {
	return request({
		method: "POST",
		url: api.upload,
		data: parameter,
	});
}
